package com.nifostasky.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 学生信息表(Student)表实体类
 *
 * @author makejava
 * @since 2021-09-10 17:18:44
 */
@Data
@TableName(value = "student")
public class Student implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键自增:
     * 表id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;


    /**
     * 学号
     */
    @TableField(value = "stu_no")
    private Integer stuNo;

    /**
     * 学生姓名
     */
    @TableField(value = "stu_name")
    private String stuName;

    /**
     * 学生年龄
     */
    @TableField(value = "stu_age")
    private Integer stuAge;

    /**
     * 年级
     */
    @TableField(value = "stu_class")
    private String stuClass;

}